package com.zbkj.service.service;

import com.github.pagehelper.PageInfo;
import com.zbkj.common.request.PageParamRequest;
import com.zbkj.common.model.agent.AttractActivityRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zbkj.common.request.AttractActivityRecordFrontSaveRequest;
import com.zbkj.common.request.AttractActivityRecordSearchRequest;
import com.zbkj.common.response.AttractActivityRecordFrontDetailResponse;
import com.zbkj.common.response.AttractActivityRecordFrontPageDataResponse;
import com.zbkj.common.response.AttractActivityRecordPageDataResponse;
import com.zbkj.common.response.AttractActivityRecordDetailResponse;

import java.util.List;
/**
* @author Caiyc
* @description AttractActivityRecordService 接口
* @date 2025-08-07
*/
public interface AttractActivityRecordService extends IService<AttractActivityRecord> {

    Boolean create(AttractActivityRecordFrontSaveRequest attractActivityRecordFrontSaveRequest);

    /**
     * 分页查询邀约活动记录表
     * @param request 查询条件
     * @param pageParamRequest 分页对行
     * @return 查询结果
     */
    List<AttractActivityRecordPageDataResponse> getList(AttractActivityRecordSearchRequest request, PageParamRequest pageParamRequest);
    PageInfo<AttractActivityRecordFrontPageDataResponse> getMyListH5(PageParamRequest pageParamRequest);

    /**
    * 修改邀约活动记录表
    * @param attractActivityRecordRequest
    * @return
    */
    boolean update(AttractActivityRecordFrontSaveRequest attractActivityRecordRequest);

    /**
    * 批量删除
    * @param idList
    * @return
    */
    boolean batchDelete(List<Integer> idList);

    /**
    * 查询溯源套餐表详情
    * @param id
    * @return
    */
    AttractActivityRecordDetailResponse getDetails(Integer id);
    AttractActivityRecordFrontDetailResponse getDetailsH5(Integer id);

    Integer createH5(AttractActivityRecordFrontSaveRequest attractActivityRecordFrontSaveRequest);

    int getCountByUid(Integer id, Integer uid);
}